home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / suspend.d / 90-framebuffer-stop.sh < prev   
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  231b  |  15 lines

  1. #!/bin/sh
  2.  
  3. # Make sure the backlight goes off
  4. if [ x$USE_DPMS = "xtrue" ]; then
  5.   vbetool dpms off
  6. fi
  7.  
  8. # SHUT UP FRAMEBUFFER
  9. for x in /sys/class/graphics/*; do
  10.     if [ -f $x/state ]; then
  11.         echo -n 1 >$x/state;
  12.     fi
  13. done
  14.  
  15.